package oo7;

public class USBFan implements USB {
	private String brand;// 牌子
	private int rounds;// 转速

	public USBFan(String b, int r) {
		this.brand = b;
		this.rounds = r;
	}

	public void show() {
		System.out.println("这是一个usb电风扇，品牌是：" + brand + ",转速是" + rounds + "转");
	}

	@Override
	public void plugin() {
		System.out.println("接上了，扇叶开始转动，送出凉风");
	}

	@Override
	public void unplug() {
		System.out.println("扇叶停止转动");
	}

	@Override
	public void work() {
		System.out.println("持续吹风。。。。好凉快");
	}
}
